package com.yhd.service;

import com.yhd.entity.dto.CycleImgDto;
import com.yhd.entity.dto.UserDto;
import com.yhd.entity.query.CycleImgVO;

import java.util.List;

public interface CycleImgService {
	List<CycleImgDto> getCycleList(String type);

    /**
     * 获取banner列表
     * @param cycleImgVO
     * @return
     */
    List<CycleImgDto> selectCycleImgList(CycleImgVO cycleImgVO);

    /**
     * 获取banner详情
     * @param cycleImgVO
     * @return
     */
    CycleImgDto selectCycleImgInfo(CycleImgVO cycleImgVO);

    /**
     * 删除banner
     * @param cycleImgVO
     * @return
     */
    boolean deleteCycleImg(CycleImgVO cycleImgVO);

    /**
     * 新增、修改banner
     * @param cycleImgVO
     * @param userInfo
     * @return
     */
    CycleImgDto putBanner(CycleImgVO cycleImgVO, UserDto userInfo);

}
